import {
	http
} from '@/utils/request.js'
// 类型列表
export const classlist = (data) => {
	return http.post('/lease/classlist', data)
}
// 租赁列表
export const leaselist = (data) => {
	return http.post('/lease/leaselist', data)
}
// 租赁详情
export const leasefile = (data) => {
	return http.post('/lease/leasefile', data)
}
// 预定营位信息
export const myyingwei = (data) => {
	return http.post('/goods/myyingwei', data)
}
// 下单
export const addorder = (data) => {
	return http.post('/lease/addorder', data)
}
// 订单列表
export const orderlist = (data) => {
	return http.post('/lease/orderlist', data)
}

//订单详情
export const orderfile1 = (data) => {
	return http.post('/lease/orderfile', data)
}
//支付订单
export const payorder = (data) => {
	return http.post('/lease/payorder', data)
}
//取消订单
export const changstatus1 = (data) => {
	return http.post('/lease/changstatus', data)
}
//退还押金
export const tuiya1 = (data) => {
	return http.post('/lease/tuiya', data)
}